.class Lcom/waiqin365/lightapp/im/activity/de;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/widget/AdapterView$OnItemClickListener;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/im/activity/XiaomishuActivity;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/im/activity/XiaomishuActivity;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/im/activity/de;->a:Lcom/waiqin365/lightapp/im/activity/XiaomishuActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onItemClick(Landroid/widget/AdapterView;Landroid/view/View;IJ)V
    .locals 4

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/de;->a:Lcom/waiqin365/lightapp/im/activity/XiaomishuActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/im/activity/XiaomishuActivity;->b(Lcom/waiqin365/lightapp/im/activity/XiaomishuActivity;)Lcom/waiqin365/lightapp/im/adapter/bi;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/im/activity/de;->a:Lcom/waiqin365/lightapp/im/activity/XiaomishuActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/im/activity/XiaomishuActivity;->d(Lcom/waiqin365/lightapp/im/activity/XiaomishuActivity;)Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    move-result-object v1

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->getHeaderViewsCount()I

    move-result v1

    sub-int v1, p3, v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/im/adapter/bi;->a(I)Lcom/waiqin365/base/db/imnotice/g;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/base/db/imnotice/g;->m()Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-eqz v1, :cond_0

    :goto_0
    return-void

    :cond_0
    new-instance v1, Lcom/fiberhome/xpush/a;

    invoke-direct {v1}, Lcom/fiberhome/xpush/a;-><init>()V

    invoke-virtual {v0}, Lcom/waiqin365/base/db/imnotice/g;->m()Ljava/lang/String;

    move-result-object v2

    iput-object v2, v1, Lcom/fiberhome/xpush/a;->b:Ljava/lang/String;

    invoke-virtual {v0}, Lcom/waiqin365/base/db/imnotice/g;->a()Ljava/lang/String;

    move-result-object v2

    iput-object v2, v1, Lcom/fiberhome/xpush/a;->c:Ljava/lang/String;

    invoke-virtual {v0}, Lcom/waiqin365/base/db/imnotice/g;->l()Ljava/lang/String;

    move-result-object v0

    iput-object v0, v1, Lcom/fiberhome/xpush/a;->a:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/de;->a:Lcom/waiqin365/lightapp/im/activity/XiaomishuActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/im/activity/XiaomishuActivity;->d(Lcom/waiqin365/lightapp/im/activity/XiaomishuActivity;)Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    move-result-object v0

    const/4 v2, 0x0

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setEnabled(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/de;->a:Lcom/waiqin365/lightapp/im/activity/XiaomishuActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/im/activity/XiaomishuActivity;->f(Lcom/waiqin365/lightapp/im/activity/XiaomishuActivity;)Landroid/content/Context;

    move-result-object v0

    invoke-static {v1, v0}, Lcom/waiqin365/base/login/d/g;->a(Lcom/fiberhome/xpush/a;Landroid/content/Context;)V

    new-instance v0, Landroid/os/Handler;

    invoke-direct {v0}, Landroid/os/Handler;-><init>()V

    new-instance v1, Lcom/waiqin365/lightapp/im/activity/df;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/im/activity/df;-><init>(Lcom/waiqin365/lightapp/im/activity/de;)V

    const-wide/16 v2, 0x7d0

    invoke-virtual {v0, v1, v2, v3}, Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z

    goto :goto_0
.end method
